import { createApp } from 'vue'
import App from './App.vue'
import  router from "./router/index"
import ElementUI from 'element-plus';
import 'element-plus/theme-chalk/index.css';
import * as ElIcons from '@element-plus/icons-vue'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
// import VueParticles from 'vue-particles'//粒子特效


const app = createApp(App);

app.use(router).use(ElementUI,{
    locale: zhCn,
}).mount("#app");

for(const iconName in  ElIcons){
    app.component(iconName,ElIcons[iconName]);
}